
public class Bicycle implements Cloneable{
	private int gear;
	private int cadence;
	private int speed;


  	public Bicycle(int gear,int cadence,int speed){
		this.gear=gear;
		this.cadence=cadence;
		this.speed=speed;
	  }

	public void Setup(int i,int j,int k){
		this.gear=i;
		this.cadence=j;
		this.speed=k;
	}

	public void printDescription(){

 	System.out.println("\nBike is in gear " + this.gear + " with a cadence of " +
       	 this.cadence + " and travelling at a speed of " + this.speed + ". ");

	}


   	public Object clone() throws CloneNotSupportedException {
       		return (Bicycle)super.clone();
    	}

}
